
These are the replication files for:

Pomeroy, Caleb "Hawks Become Us: The Sense of Power and Militant Foreign Policy Attitudes," Security Studies.


Scripts included -----

1. "hawks_main_script.R" reproduces the key results from the paper, including the main correlational regressions (Figs 1-2), the moderation analyses (Fig 3), and the survey experiment (Fig 4). 

2. "hawks_supplementary_script.R" reproduces the supplementary analyses associated with the paper, including various robustness checks and the re-analysis of the 2019 Chicago Council–Levada Center survey fielded in Russia. 

3. "hawks_exchange_script.R" conducts the sense of power x gender moderation analyses raised by Rose McDermott's essay in the paper's Security Studies exchange.


Data included (in no particular order) -----

1. "app_survey.csv" includes the survey fielded by Ohio State's CHRR on the American Population Panel.

2. "russia_survey.csv" includes the Russian sample recruited by Anketolog.

3. "us_survey1.csv" includes the US sample recruited by Qualtrics for the survey that included the Iran scenario.

4. "china_survey.csv" includes the Beijing sample recruited by Qualtrics.

5. "us_survey2.csv" includes the US sample recruited by Qualtrics for the survey that included multiple measures of individual differences.

6. "prolific_survey.csv" includes the US sample recruited on Prolific's platform for the survey experiment. 

7. "chicago_levada_data.csv" includes the data from the Chicago Council-Levada Center survey required to reproduce the paper's re-analyses. If using these data in your own work, be sure to cite:

Dina Smeltz and Lily Wojtowicz, “Russians Say Their Country Is A Rising Military Power; And a Growing Percentage of Americans View Russia as a Threat,” Chicago Council on Global Affairs Report (March 1, 2019), 1-20.


Replication process -----

1. Ensure there's a top-level folder "hawks_replication" (or whatever you'd like to call it), which contains a "scripts" folder and a "data" folder. The "scripts" folder contains the two R scripts. The "data" folder contains the seven datasets. This structure should download automatically from the online repo.

2. Set your working directory in R to the location of the top-level folder containing the replication files.

3. Install the necessary packages listed at the top of the scripts, if they aren't already installed.

4. The scripts are self-contained analyses, so you can run them in any order. 


Version details -----

-All analyses carried out using R version 4.2.2, R studio version 2022.12.0, on a MacBook Pro (M1, 8GB RAM).

-Package versions: caret (6.0-93), ggeffects (1.1.4), ggh4x (0.2.3), ggplot2 (3.4.0), lattice (0.20-45), MASS (7.3-58.1), Matrix (1.5-1), mediation (4.5.0), mice (3.15.0), mvtnorm (1.1-3), plyr (1.8.8), psych (2.2.9), readr (2.1.3 ), sandwich (3.0-2), scales (1.2.1), texreg (1.38.6)


